home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
WINDOWS
/
OLE_101.ARJ
/
OLEINST.H
< prev
next >
Wrap
Text File
|
1992-04-13
|
1KB
|
38 lines
/*
* OLEINST.C
*
* OLE-Specific installation data types and function prototypes.
*
* Copyright(c) Microsoft Corp. 1992 All Rights Reserved
*
*/
typedef struct
{
LPSTR pszServerName; //Full server name.
LPSTR pszServerClass; //Short server class name.
LPSTR pszServerPath; //Full path to server module.
LPSTR pszHandlerPath; //Optional Full path to object handler DLL.
LPSTR pszExt; //File extension for the server.
LPSTR *ppszVerbs; //Pointer to array of LPSTRs to verbs.
WORD cVerbs; //Number of verbs in array.
LPSTR pszSetFormats; //Optional CSV list of accepted formats.
LPSTR pszRequestFormats; //Optional CSV list of requestable formats.
BOOL fExecute; //Is OleExecute supported?
} REGINSTALL;
typedef REGINSTALL FAR *LPREGINSTALL;
#define CBREGINSTALL sizeof(REGINSTALL)
//Function prototypes
BOOL FAR PASCAL FRegDBInstall(void);
BOOL FAR PASCAL FOLEServerInstall(LPREGINSTALL);
BOOL PASCAL FKeyCreate(LPSTR, LPSTR, LPSTR);
//Verbs
#define OBJVERB_EDIT 0
#define OBJVERB_PLAY 1
#define OBJVERB_MAX 1